

#include "header\mylib.h"
/*
** win���ú��� 
** 
**
**
*/

/////////////////////���뷭�뺯��//////////////////////

/******************************************************
**
**�ַ���������ָ�룬�ַ����ȣ����ض�Ӧ�������ı�(�̶�λ�� re_nbit) 
**
*******************************************************/
#define riscX000 "add"
#define riscX001 "addr"
#define riscX002 "sum"
#define riscX003 "untu"
#define riscX004 "buff"
#define riscX005 "null"
#define riscX006 "print"
#define riscX007 "miss"
#define riscX008 "max"

#define codeX000 0000
#define codeX001 0001
#define codeX002 0010
#define codeX003 0011
#define codeX004 0100
#define codeX005 0101
#define codeX006 0110
#define codeX007 0111
#define codeX008 1000

char *out_01_charx(char *p, int num, char re_nbit)
{
	char *aa, *codebuf;
	int i = 0;
	aa = "*p error!";
	codebuf = p;
	for (i = 0; i < num - 1; i++)
	{
		/*
		switch (codebuf)
		{
		case riscX000:
			aa = codeX000;
			break;
		case riscX001:
			aa = codeX001;
			break;
		case riscX002:
			aa = codeX002;
			break;
		case riscX003:
			aa = codeX003;
			break;
		case riscX004:
			aa = codeX004;
			break;
		case riscX005:
			aa = codeX005;
			break;
		case riscX006:
			aa = codeX006;
			break;
		case riscX007:
			aa = codeX007;
			break;
		}
*/
	}

	return aa;
}
